package com.example.paopao.passport.service;

import com.example.paopao.common.pojo.security.CurrenPrincipal;
import com.example.paopao.passport.pojo.dto.UserLoginDTO;
import com.example.paopao.passport.pojo.vo.UserLoginResultVO;

public interface UserService {

    UserLoginResultVO login(UserLoginDTO userLoginDTO,String remoteAddr,String header);

    boolean logout(CurrenPrincipal principal);
}
